// 对用户模块请求api的封装
import request from 'utils/request.js'

/**
 * 登录
 * @param {*} data { username, password }
 */
export const login = (data) => {
  return request({
    url: '/frame/login',
    method: 'POST',
    data,
  })
}